package com.cskaoyan.service;

import com.cskaoyan.bean.BO.AdminTopicBO;
import com.cskaoyan.bean.PO.MarketTopic;
import com.cskaoyan.bean.VO.AdminTopicReadVO;
import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.CommonData;

public interface AdminTopicService {
    CommonData<MarketTopic> queryTopicList(BasePageInfo info, String title, String subtitle);

    AdminTopicBO createTopic(AdminTopicBO adminTopicBO);

    AdminTopicReadVO queryTopicById(Integer id);

    MarketTopic updateTopic(MarketTopic marketTopic);

    int deleteTopicLogic(MarketTopic marketTopic);

    int batchDeleteTopics(Integer[] ids);
}
